Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(*): remove btcd support #27

Merged
merged 23 commits into from
Aug 29, 2024
Merged

chore(*): remove btcd support #27

merged 23 commits into from
Aug 29, 2024

Conversation

Lazar955
Copy link
Member

This PR aims to remove support for btcd we will be only using bitcoind as our backend.

References issue.

@Lazar955 Lazar955 marked this pull request as ready for review August 28, 2024 10:10
Copy link
Member

@gitferry gitferry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Some more btcd legacy in comments.

README.md Outdated Show resolved Hide resolved
btcclient/notifier.go Outdated Show resolved Hide resolved
config/bitcoin.go Outdated Show resolved Hide resolved
WalletEndpoint string `mapstructure:"wallet-endpoint"`
WalletPassword string `mapstructure:"wallet-password"`
WalletName string `mapstructure:"wallet-name"`
WalletCAFile string `mapstructure:"wallet-ca-file"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is not needed

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice spot, but we do need WalletPassword and WalletName see this and this

config/bitcoin.go Show resolved Hide resolved
config/bitcoin.go Outdated Show resolved Hide resolved
ZmqTxEndpoint string `mapstructure:"zmq-tx-endpoint"`
DisableClientTLS bool `mapstructure:"no-client-tls"`
CAFile string `mapstructure:"ca-file"`
Endpoint string `mapstructure:"endpoint"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there now a difference between endpoint and wallet-endpoint ? or wallet-endpoint was supossed to be used to handle situations where there are multiple wallets loaded i.e the things with Endpoint + "/wallet/" + WalletName ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KonradStaniec yeah, wallet-endpoint is not used so I'll be removing it, but we do use cfg.Endpoint + "/wallet/" + cfg.WalletName

Copy link
Collaborator

@KonradStaniec KonradStaniec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Lazar955 Lazar955 merged commit 874630c into dev Aug 29, 2024
8 checks passed
@Lazar955 Lazar955 deleted the lazar/drop-btcd-support branch August 29, 2024 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants